package com.bp.project.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.bp.common.annotation.Excel;
import com.bp.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 项目工程步骤对象 biz_stage
 * 
 * @author shaominjie
 * @date 2021-01-18
 */
public class BizStage extends BaseEntity{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long stageId;

    /** 关联工程Id */
    @Excel(name = "关联工程Id")
    private Long projId;

    /** 阶段名称 */
    @Excel(name = "阶段名称")
    private String stageName;

    /** 阶段描述 */
    @Excel(name = "阶段描述")
    private String stageDesc;

    /** 当前阶段 */
    @Excel(name = "当前阶段")
    private Integer stageStep;

    /** 当前阶段状态(success/wait/process/error/finish) */
    @Excel(name = "当前阶段状态(success/wait/process/error/finish)")
    private String stageStatus;

    private List<BizStageContent> contentList;


    public List<BizStageContent> getContentList() {
        return contentList;
    }

    public void setContentList(List<BizStageContent> contentList) {
        this.contentList = contentList;
    }

    public void setStageId(Long stageId) {
        this.stageId = stageId;
    }

    public Long getStageId(){
        return stageId;
    }
    public void setProjId(Long projId) {
        this.projId = projId;
    }

    public Long getProjId(){
        return projId;
    }
    public void setStageName(String stageName) {
        this.stageName = stageName;
    }

    public String getStageName(){
        return stageName;
    }
    public void setStageDesc(String stageDesc) {
        this.stageDesc = stageDesc;
    }

    public String getStageDesc(){
        return stageDesc;
    }
    public void setStageStep(Integer stageStep) {
        this.stageStep = stageStep;
    }

    public Integer getStageStep(){
        return stageStep;
    }
    public void setStageStatus(String stageStatus) {
        this.stageStatus = stageStatus;
    }

    public String getStageStatus(){
        return stageStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("stageId", getStageId())
            .append("projId", getProjId())
            .append("stageName", getStageName())
            .append("stageDesc", getStageDesc())
            .append("stageStep", getStageStep())
            .append("stageStatus", getStageStatus())
            .toString();
    }
}
